Failed to initialize the OLE libraries while launching DOORS in the batch mode.

I am getting an error "Failed to initialize the OLE libraries." while launching IBM Rational Doors 9.2 in the batch mode.

Command used:

 

<DOORS_HOME_DIRECTORY>/bin/doors -batch <DXL_FILE_PATH> -username <USERNAME> -password <PASSWORD> -data <PORT>@<IP_ADDRESS>

 

Let me know if further information is required.

 

Edit:

Re-installation of DOORS Client on different path worked for me.

 

Regards,

Karan Soni


karansoni - Fri Jul 29 11:33:31 EDT 2016

Re: Failed to initialize the OLE libraries while launching DOORS in the batch mode.
Mathias Mamsch - Fri Jul 29 14:09:20 EDT 2016

Is it possible that you execute the DOORS batch from a service? Launching DOORS from a Service has known problems with OLE. Regards, Mathias

Re: Failed to initialize the OLE libraries while launching DOORS in the batch mode.
karansoni - Tue Aug 02 08:00:06 EDT 2016

Mathias Mamsch - Fri Jul 29 14:09:20 EDT 2016

Is it possible that you execute the DOORS batch from a service? Launching DOORS from a Service has known problems with OLE. Regards, Mathias

No, I open DOORS batch using command.

I am opening multiple DOORS batch clients at a time. And it is not throwing error every time but it throws error after some requests.

Re: Failed to initialize the OLE libraries while launching DOORS in the batch mode.
DOORSHAM - Tue Aug 02 09:02:16 EDT 2016

karansoni - Tue Aug 02 08:00:06 EDT 2016

No, I open DOORS batch using command.

I am opening multiple DOORS batch clients at a time. And it is not throwing error every time but it throws error after some requests.

Why are you doing something that is known to give you problems -- stop that.

Re: Failed to initialize the OLE libraries while launching DOORS in the batch mode.
Mathias Mamsch - Tue Aug 02 09:54:19 EDT 2016

karansoni - Tue Aug 02 08:00:06 EDT 2016

No, I open DOORS batch using command.

I am opening multiple DOORS batch clients at a time. And it is not throwing error every time but it throws error after some requests.

I noticed there are a couple of conditions when launching lots of batch jobs at the same time. One is for example that few logins fail, when two jobs lock the user directory at the same time. Another might be OLE initialization problems.  Are you doing a backend for a webservice or such? Regards, Mathias

Re: Failed to initialize the OLE libraries while launching DOORS in the batch mode.
karansoni - Thu Aug 04 02:30:57 EDT 2016

Re-installation of DOORS Client on different path worked for me.

 

Thanks for your help.

Regards,

Karan Soni